public class Count {

    // 请求耗时
    private Double latency;
    private Integer total_tokens;

    public Count(Double latency, Integer total_tokens) {
        this.latency = latency;
        this.total_tokens = total_tokens;
    }

    public Double getLatency() {
        return latency;
    }

    public void setLatency(Double latency) {
        this.latency = latency;
    }

    public Integer getTotal_tokens() {
        return total_tokens;
    }

    public void setTotal_tokens(Integer total_tokens) {
        this.total_tokens = total_tokens;
    }

    @Override
    public String toString() {
        return "Count{" +
                "latency=" + latency +
                ", total_tokens=" + total_tokens +
                '}';
    }
}



